package com.lxl.testHd.etl.one;

import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

/**
 * @author ：e_lixilin
 * @date ：2022/2/21 14:34
 * @description：
 * @modified By：
 */
public class EtlOneReducer extends Reducer<Text, NullWritable,Text, NullWritable> {
    NullWritable outValue =  NullWritable.get();
    @Override
    protected void reduce(Text key, Iterable<NullWritable> values, Context context) throws IOException, InterruptedException {
        context.write(key,outValue);
    }
}
